package com.yangjun.dao.mybatis.mapper.report;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yangjun.entity.report.DvReportDownloadStatusEntity;

public interface ReportDownloadStatusMapper {
	
    int queryReportByName(@Param(value="userid")  String userid,@Param(value="reportName")  String reportName);

    List<DvReportDownloadStatusEntity> queryDeleteReportByUserid(@Param(value="userid")  String userid);

    List<DvReportDownloadStatusEntity> queryReportByUserid(@Param(value="userid")  String userid);

    int insertReport(DvReportDownloadStatusEntity dvReportDownloadStatusEntity);
    
    int updateReportById(DvReportDownloadStatusEntity dvReportDownloadStatusEntity);
    
    int deleteReportByUserid(@Param(value="userid")  String userid);
    
    int deleteReportByDate(@Param(value="userid")  String userid,@Param(value="date")  String date);
}
